home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / rgbmod.z / rgbmod
Encoding:
Text File  |  2002-10-03  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. RRRRGGGGBBBBmmmmoooodddd((((3333GGGG))))                                                          RRRRGGGGBBBBmmmmoooodddd((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      RRRRGGGGBBBBmmmmoooodddd - sets a rendering and display mode that bypasses the color map
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee RRRRGGGGBBBBmmmmoooodddd
  13.  
  14. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  15.      _n_o_n_e
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      RRRRGGGGBBBBmmmmoooodddd instructs the system to treat color as a 4-component entity in the
  19.      currently active drawmode.  Currently RGB mode is supported only by the
  20.      normal framebuffer, so RRRRGGGGBBBBmmmmoooodddd should be called only while in draw mode
  21.      NNNNOOOORRRRMMMMAAAALLLL.  You must call ggggccccoooonnnnffffiiii for RRRRGGGGBBBBmmmmoooodddd to take effect.
  22.  
  23.      While in RGB mode, a framebuffer is configured to store separate color
  24.      values for red, green, blue, and alpha components.  Lighting, shading,
  25.      and fog calculations are done in the true, RGB color space.  Colors and
  26.      writemasks must be specified using RGB-compatible commands such as cccc,
  27.      ccccppppaaaacccckkkk, and wwwwmmmmppppaaaacccckkkk.  The red, green, and blue components stored in the
  28.      framebuffer are used (after correction for monitor non-linearity) to
  29.      directly control the color guns of the monitor.
  30.  
  31.      Many advanced rendering features, such as complex lighting models,
  32.      texture mapping, polygon antialiasing, and fog, are available only in RGB
  33.      mode.
  34.  
  35. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  36.      c, cmode, cpack, gammar, gconfi, getdis, getgde, wmpack
  37.  
  38. NNNNOOOOTTTTEEEE
  39.      RRRRGGGGBBBBmmmmoooodddd is not supported on all hardware configurations.  The command
  40.      ggggeeeettttggggddddeeee can be used to determine how many bitplanes in the normal
  41.      framebuffer are available for each color component in both single and
  42.      double buffered RGB mode.
  43.  
  44.      This routine is available only in immediate mode.
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.